package com.example.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * @ClassName SysDiseaseEncyclopediaClassification
 * @Author wengjt
 * @Date 2021/4/2015:30
 * @Description 疾病百科分类
 **/
@ApiModel("疾病百科")
@Data
@Entity
@Table(name = "sys_disease_encyclopedia_classification")
public class SysDiseaseEncyclopediaClassification {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "dec_id_bigint")
    @ApiModelProperty("分类ID")
    private Integer decId;
    @ApiModelProperty("分类名称")
    @Column(name = "name_nvarchar")
    private String name;
    @ApiModelProperty("禁用状态")
    @Column(name = "disable_bit")
    private Integer disable;
    @ApiModelProperty("创建时间")
    @Column(name = "create_time_datetime")
    private Date createTime;
}
